package com.baizhi.controller;


import com.baizhi.entity.Admin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhangsan
 * @since 2022-03-08
 */
@RestController
@RequestMapping("/admin")
public class AdminController {
    @GetMapping
    public List<Admin> selectAll(){
        int n=1+1;
        return null;
    }
}

